x86/hvm: make domain_destroy() method optional
authorPaul Durrant <pdurrant@amazon.com>
Fri, 24 Jan 2020 15:30:59 +0000 (15:30 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Sat, 25 Jan 2020 18:43:32 +0000 (18:43 +0000)
commitf5cdb099e73eff318890e7beeb62587c81069b6b
treee3043d96b6c14697148c54a63a7bfb473549d275
parent10a6e9cb5d282ffbc0bbd68c935a9c659173e3d9
x86/hvm: make domain_destroy() method optional

This method is currently empty for SVM so make it optional and, while in
the neighbourhood, make it an alternative_vcall().

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/svm/svm.c